package com.caiju.health.mapper;

import com.caiju.health.dto.OrderSettingDTO;
import com.caiju.health.pojo.OrderSetting;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface IOrderSettingMapper {
    void insertOrderSetting(OrderSettingDTO orderSettingDTO);

    List<OrderSetting> findOrderSettingListByOrderDate(HashMap<Object, Object> map);

    void updateOrderSettingByOrderDate(@Param("newDate") String newDate, @Param("value")Integer value);
}
